package com.qyhl.party.party.test.challenge;

import com.qyhl.webtv.commonlib.entity.party.PartyChallengeBean;
import com.qyhl.webtv.commonlib.entity.party.PartyLoginBean;

public interface PartyChallengeContract {
    interface PartyChallengeView {
        void startSuccess(PartyChallengeBean bean);

        void startError(String msg);

        void submitSuccess(PartyChallengeBean bean);

        void submitError(String msg);

        void timeOutSuccess(PartyChallengeBean bean);

        void timeOutError(String msg);

        void LoginSuccess(PartyLoginBean bean);

        void LoginError(String msg);
    }

    interface PartyChallengePresenter {
        void startChallenge(String token);

        void submit(String token, int recordId, int questionId, String answer, int seconds);

        void submitTimeOut(String token, int recordId);

        void isLogin();

        void startSuccess(PartyChallengeBean bean);

        void startError(String msg);

        void submitSuccess(PartyChallengeBean bean);

        void submitError(String msg);

        void timeOutSuccess(PartyChallengeBean bean);

        void timeOutError(String msg);

        void LoginSuccess(PartyLoginBean bean);

        void LoginError(String msg);
    }

    interface PartyChallengeModel {
        void startChallenge(String token);

        void submit(String token, int recordId, int questionId, String answer, int seconds);

        void submitTimeOut(String token, int recordId);

        void isLogin();
    }
}
